package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账单每月统计对象 bill_month_statistic
 * 
 * @author ruoyi
 * @date 2023-03-17
 */
public class BillMonthStatistic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 账单归属年月 */
    @Excel(name = "账单归属年月")
    private String statisticMonth;

    /** 月初金额 */
    @Excel(name = "月初金额")
    private BigDecimal beginningAmount;

    /** 每月收支金额 */
    @Excel(name = "每月收支金额")
    private BigDecimal amount;

    /** 月末金额 */
    @Excel(name = "月末金额")
    private BigDecimal endAmount;

    /** 剩余房贷金额 */
    @Excel(name = "剩余房贷金额")
    private BigDecimal housingLoanAmount;

    /** 其他贷款金额 */
    @Excel(name = "其他贷款金额")
    private BigDecimal otherLoanAmount;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatisticMonth(String statisticMonth) 
    {
        this.statisticMonth = statisticMonth;
    }

    public String getStatisticMonth() 
    {
        return statisticMonth;
    }
    public void setBeginningAmount(BigDecimal beginningAmount) 
    {
        this.beginningAmount = beginningAmount;
    }

    public BigDecimal getBeginningAmount() 
    {
        return beginningAmount;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setEndAmount(BigDecimal endAmount) 
    {
        this.endAmount = endAmount;
    }

    public BigDecimal getEndAmount() 
    {
        return endAmount;
    }
    public void setHousingLoanAmount(BigDecimal housingLoanAmount) 
    {
        this.housingLoanAmount = housingLoanAmount;
    }

    public BigDecimal getHousingLoanAmount() 
    {
        return housingLoanAmount;
    }
    public void setOtherLoanAmount(BigDecimal otherLoanAmount) 
    {
        this.otherLoanAmount = otherLoanAmount;
    }

    public BigDecimal getOtherLoanAmount() 
    {
        return otherLoanAmount;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("statisticMonth", getStatisticMonth())
            .append("beginningAmount", getBeginningAmount())
            .append("amount", getAmount())
            .append("endAmount", getEndAmount())
            .append("housingLoanAmount", getHousingLoanAmount())
            .append("otherLoanAmount", getOtherLoanAmount())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
